//
//  SetingViewController.m
//  block
//
//  Created by mac on 15-8-6.
//  Copyright (c) 2015年 zhiyou. All rights reserved.
//

#import "SetingViewController.h"

@interface SetingViewController ()

@end

@implementation SetingViewController
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}


- (void)viewDidLoad
{
    [super viewDidLoad];
    //self.view.backgroundColor=[UIColor blackColor];
   
}
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    self.colorBlock([UIColor redColor]);
    NSLog(@"123456789");
}

@end
